'use strict';

export class User{
    get postId(): string {
        return this._postId;
    }

    set postId(value: string) {
        this._postId = value;
    }
    get checkFlowImg(): string {
        return this._checkFlowImg;
    }

    set checkFlowImg(value: string) {
        this._checkFlowImg = value;
    }
    get djId(): string {
        return this._djId;
    }

    set djId(value: string) {
        this._djId = value;
    }
    get zcId(): string {
        return this._zcId;
    }

    set zcId(value: string) {
        this._zcId = value;
    }

    private _postId:string;
    private _userName:string;//用户名
    private _loginName:string;//登录名
    private _year:string;//年份
    private _unitId:string;//单位编号
    private _unitName:string;//单位名称
    private _userId:string;//用户id
    private _branchId:string;//部门id
    private _branchName:string;//部门名称
    private _code:string;//编号
    private _userBranch:any;//用户单位

    private _zcId:string;//支出事项编号
    private _djId:string;//单据编号

    private _checkFlowImg:string;//审批流程图

    set userBranch(value: any) {
        this._userBranch = value;
    }
    set code(value: string) {
        this._code = value;
    }
    set branchName(value: string) {
        this._branchName = value;
    }
    set branchId(value: string) {
        this._branchId = value;
    }
    set userId(value: string) {
        this._userId = value;
    }
    set unitName(value: string) {
        this._unitName = value;
    }
    set unitId(value: string) {
        this._unitId = value;
    }
    set year(value: string) {
        this._year = value;
    }
    set loginName(value: string) {
        this._loginName = value;
    }
    set userName(value: string) {
        this._userName = value;
    }
    get userBranch(): any {
        return this._userBranch;
    }
    get code(): string {
        return this._code;
    }
    get branchName(): string {
        return this._branchName;
    }
    get branchId(): string {
        return this._branchId;
    }
    get userId(): string {
        return this._userId;
    }
    get unitName(): string {
        return this._unitName;
    }
    get unitId(): string {
        return this._unitId;
    }
    get year(): string {
        return this._year;
    }
    get loginName(): string {
        return this._loginName;
    }
    get userName(): string {
        return this._userName;
    }
}